/*
 * =====================================================================================
 *
 *       Filename:  Handler.h
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/05/2022 08:18:38 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */

#pragma once
#include "IWomen.h"
class CHandler {
  public:
    CHandler(int _level);
    virtual ~ CHandler(void);
    void HandleMessage(IWomen* pwomen);
    void SetNext(CHandler* phandler);
    virtual void Response(IWomen* pwomen) = 0;
  private:
    int m_level;
    CHandler* m_pNextHandler;
};
